<h1>SfOwned List</h1>

<table>
  <thead>
    <tr>
      <th>Peer name</th>
      <th>Owned</th>
      <th>Owner</th>
      <th>Id</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($sf_owned_list as $sf_owned): ?>
    <tr>
      <td><?php echo $sf_owned->getPeerName() ?></td>
      <td><?php echo $sf_owned->getOwnedId() ?></td>
      <td><?php echo $sf_owned->getOwnerId() ?></td>
      <td><a href="<?php echo url_for('sfOwned/edit?id='.$sf_owned->getId()) ?>"><?php echo $sf_owned->getId() ?></a></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('sfOwned/new') ?>">New</a>
